package com.wty.design.structural.facade.drawShape;

/**
 * @Author wangtengyu
 * @Create 2018-09-19-9:06
 */
public class ShapeMaker  {
    private Circle circle;
    private Rectangle rectangle;
    private Square square;

    public ShapeMaker(){
        circle=new Circle();
        rectangle=new Rectangle();
        square=new Square();
    }

    public void drawCricle(){
        circle.draw();
    }

    public void drawRectangle(){
        rectangle.draw();
    }

    public void drawSquare(){
        square.draw();
    }
}
